Skip to content

send STREAT-START event to downstream when app pushes data after sending EOS - #1719

Closed
kkanag314 wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.38from
kkanag314:wpe-2.38
Closed

send STREAT-START event to downstream when app pushes data after sending EOS#1719
kkanag314 wants to merge 1 commit into
WebPlatformForEmbedded:wpe-2.38from
kkanag314:wpe-2.38

Conversation

@kkanag314

@kkanag314 kkanag314 commented Aug 19, 2026

Copy link
Copy Markdown

Test Procedure:

Root Cause:
During MediaSource reuse across ad/content transitions, the pipeline remained in EOS state after EOS was pushed. Since STREAM_START was not re-sent, subsequent CAPS and buffer pushes failed, causing the MediaSource to close and resulting in a green screen during stream transitions.

Fix Done:
Modified webKitMediaSrcLoop() to reset wasStreamStartSent on EOS and re-send STREAM_START when the MediaSource is reused. This allows the pipeline to recover from EOS state and correctly process new segments during period and ad transitions.

@eocanha

eocanha commented Sep 4, 2026

Copy link
Copy Markdown
Member

The same course of action than in PR #1718 applies here. I've pushed this PR to wpe-2.38 (with some corrections in the commit message) as c9e0022.

No need to port it upstream, as the bug shouldn't happen there. Closing PR.

@eocanha eocanha closed this Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants